 <div id="links"> 
 	<!--
		   <div id="scupioSearch"> 
            <div class="scupioSearch0"> 
               全站搜索
			  </div>
            <div class="scupioSearch1"> 
              <div class="side"> 
                <form id="form1" name="form1" method="post" action="serch.php">
				文章标题：
				  <input name="title" type="text" id="title" size="10" />
                  <span class="help">
                  <input type="image" src="<?=$this->styleurl?>/images/submit.gif" align="absmiddle" border="0" 
                        name="submit" onclick="return checkform(this.form)" />
                  </span>
                </form>
			  </div>
            </div>
          </div>
        -->
<div id="blogad" style="margin-top:2px;"> 
            <div class="blogad0"> 
             博主信息
			</div>
            <div class="blogad1"> 
              <div class="artside"> 
				<img border="0" width="90%" height="200" align="middle" alt="<?php echo $this->user_info["u_name"]; ?>" src="<?php echo $this->user_info["u_addr"]; ?>" style="padding:10px;" />
				<table width=80%">
					<tr><td align="left">姓名</td><td align="left"><?php echo $this->user_info["u_name"]; ?></td></tr>
					<tr><td align="left">QQ</td><td align="left"><?php echo $this->user_info["u_qq"]; ?></td></tr>
					<tr><td align="left">邮箱</td><td align="left"><?php echo $this->user_info["u_email"]; ?></td></tr>
				</table>
              </div>
            </div>
          </div>
			<div id="boxCategory"> 
            <div class="boxCategory0"> 
               博文分类            </div>
            <div class="boxCategory1"> 
              <div class="side"> 
			     <ul>
				<?php
    			foreach ($this->art_class as $row):
				?>
				 <li><a href="<?=$this->baseUrl?>/artlist?cid=<?=$row["class_id"]?>">››&nbsp;<?php echo $row["class_name"]; ?></a>(<?=$row["art_count"]?>)</li>
				 <?php
				 endforeach;
				 ?>
				 </ul>
              </div>
            </div>
          </div>
		  
		 <div id="boxclass"> 
            <div class="boxclass0"> 
               访客致语
			 </div>
            <div class="boxclass1"> 
              <div class="side">
			  <ul>
				<?php
				foreach ($this->com_mes_ten as $row):
				?>
				<?php if(isset($row["com_id"])){?>
				 <li style="cursor:pointer;" title="by <?php echo $row["com_writer"]; ?>">评论:<a href="<?=$this->baseUrl?>/<?php echo ($row['com_pho_id']==null)?'article?id='.$row['com_art_id'] :'photo?cid='.$row['com_pho_id'];?>"><?php echo strlen($row["com_content"])>36 ? mb_substr($row["com_content"],0,12,'utf-8').'...' : $row["com_content"] ; ?> </a></li>
				 <?php
					}else{
						if(strpos($row["mes_content"],"<font color=red>") != false){//过滤回复过的留言的回复语
							$row["mes_content"] = preg_replace("/<br\/>.+\/font>/i"," ",$row["mes_content"]);
						}
				 ?>
				  <li style="cursor:pointer;" title="by <?php echo $row["mes_writer"]; ?>">留言:<a href="<?=$this->baseUrl?>/message"><?php echo strlen($row["mes_content"])>36 ? mb_substr($row["mes_content"],0,12,'utf-8').'...' : $row["mes_content"] ; ?> </a></li>
				 <?php
					}
				 ?>
				<?php
				endforeach;
				?>
				</ul>
			 </div>
            </div>
          </div> 		  
		  
		  <?php if (0): ?>
		<div id="blogad"> 
            <div class="blogad0"> 
             推荐相薄
			</div>
            <div class="blogad2"> 
			<div id="imgADPlayer"></div>
			<script>
			<?php 
			    foreach ($_from AS $this->_var['blog']):
			?>
				PImgPlayer.addItem( "<?php echo $this->_var['blog']['title']; ?>", "<?php echo $this->_var['blog']['img']; ?>", "<?php echo $this->_var['blog']['imgs']; ?>"); 	
			<?php endforeach;?>
				PImgPlayer.init( "imgADPlayer", 240, 180 );
			</script>
            </div>
          </div>
		  <?php endif; ?> 
		 
		 <div id="boxclass"> 
            <div class="boxclass0"> 
               点击排行榜
			 </div>
            <div class="boxclass1"> 
              <div class="side">
			  <ul>
			  <?php
    			foreach ($this->dig_article AS $row):
				?>
				 <li><a href="<?=$this->baseUrl?>/article?id=<?=$row["art_id"]?>"><?php echo strlen($row["art_title"])>36 ? mb_substr($row["art_title"],0,12,'utf-8').'...' : $row["art_title"]; ?></a> (<?php echo $row["art_count"];?>)</li>
				 <?php
				  endforeach;
				 ?>
				</ul>
			 </div>
            </div>
          </div> 
		  
		  <?php if (0): ?>
		 <div id="boxclass"> 
            <div class="boxclass0"> 
               文章专题
			 </div>
            <div class="boxclass1"> 
              <div class="side">
			  <ul>
			  <?php
    foreach ($_from AS $this->_var['ztclass']):
?>
				 <li><a href="<?php echo $this->_var['ztclass']['url']; ?>"><?php echo $this->_var['ztclass']['title']; ?></a></li>
				 <?php endforeach;  ?>
				</ul>
			 </div>
            </div>
          </div> 
		  <?php endif; ?>  
		   	  
		   <div id="sitetj"> 
            <div class="sitetj0"> 
               统计信息
			 </div>
            <div class="sitetj1"> 
              <div class="side" style="padding-top:10px;padding-bottom:10px;">
				<table width=80%">
					<tr><td align="left" width="60px">文章总数</td><td align="left"><?php echo $this->article_total; ?></td></tr>
					<tr><td align="left">相片总数</td><td align="left"><?php echo $this->photo_total; ?></td></tr>
					<tr><td align="left">评论总数</td><td align="left"><?php echo $this->comment_total; ?></td></tr>
					<tr><td align="left">留言总数</td><td align="left"><?php echo $this->message_total; ?></td></tr>
				</table>
			 </div>
            </div>
          </div>
		
		<div id="rss"> 
            <div class="rss0"> 
               RSS
			 </div>
            <div class="rss1"> 
              <div class="side">
			  	<ul>
				 	<li><a href="rss.php" target="_blank"><img src="<?=$this->styleurl?>/images/rss2.png" alt="订阅本站的 RSS 2.0 新闻聚合" width="80" border="0" height="15"></a></li>
				</ul>
			 </div>
            </div>
          </div>
		
          <div id="divThird">
            
		</div>
          
      </div>